From ca1bfedc5d7c7624d076fd9291994760baba4044 Mon Sep 17 00:00:00 2001 From: "sos22@labyrinth.cl.cam.ac.uk" Date: Mon, 7 Jul 2003 09:16:15 +0000 Subject: [PATCH] bitkeeper revision 1.280 (3f093a5fKV8EQACD3ywz56MWKkwBQA) A couple of very minor bug fixes. --- tools/internal/Makefile | 2 +- xen/drivers/block/xen_physdisk.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/internal/Makefile b/tools/internal/Makefile index 8611e297cb..6015becf3b 100644 --- a/tools/internal/Makefile +++ b/tools/internal/Makefile @@ -58,5 +58,5 @@ rpm: all rm -rf staging clean: - $(RM) *.o *.rpm $(XI_CREATE) $(XI_START) $(XI_STOP) $(XI_DESTROY) $(XI_BUILD) $(XI_PHYSDEV_GRANT) + $(RM) *.o *.rpm $(XI_CREATE) $(XI_START) $(XI_STOP) $(XI_DESTROY) $(XI_BUILD) $(XI_PHYS_GRANT) $(XI_PHYS_REVOKE) $(XI_PHYS_PROBE) diff --git a/xen/drivers/block/xen_physdisk.c b/xen/drivers/block/xen_physdisk.c index 8e94e3c32f..e0d697bd66 100644 --- a/xen/drivers/block/xen_physdisk.c +++ b/xen/drivers/block/xen_physdisk.c @@ -111,7 +111,7 @@ static void xen_physdisk_revoke_access(unsigned short dev, /* Cut the current ace down to just the bit before the kzone, create a new ace for the bit just after it. */ new_ace = kmalloc(sizeof(*cur_ace), GFP_KERNEL); - new_ace->device = dev; + new_ace->device = dev & ~0x1f; new_ace->start_sect = kill_zone_end; new_ace->n_sectors = ace_end - kill_zone_end; new_ace->mode = cur_ace->mode; -- 2.30.2